package com.enitiy;


public class Dba {

  private int did;
  private String name;
  private int dnum;
  private int rank;
  private String pwd;
  private String img;

  public Dba() {
  }

  public Dba(String name, String pwd) {
    this.name = name;
    this.pwd = pwd;
  }


  public Dba(String name, String pwd , int rank, int dnum) {
    this.name = name;
    this.dnum = dnum;
    this.rank = rank;
    this.pwd = pwd;
  }

  public int getDid() {
    return did;
  }

  public void setDid(int did) {
    this.did = did;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public int getDnum() {
    return dnum;
  }

  public void setDnum(int dnum) {
    this.dnum = dnum;
  }


  public int getRank() {
    return rank;
  }

  public void setRank(int rank) {
    this.rank = rank;
  }


  public String getPwd() {
    return pwd;
  }

  public void setPwd(String pwd) {
    this.pwd = pwd;
  }


  public String getImg() {
    return img;
  }

  public void setImg(String img) {
    this.img = img;
  }


  @Override
  public String toString() {
    return "Dba{" +
            "did=" + did +
            ", name='" + name + '\'' +
            ", dnum=" + dnum +
            ", rank=" + rank +
            ", pwd='" + pwd + '\'' +
            ", img='" + img + '\'' +
            '}';
  }
}
